package br.net.atasacramental.notificacao.model;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="CONFIG_NOTIFICACAO")
public class ConfigNotificacao{
	
	@Id 
	@GenericGenerator(name="seq_config_notificacao" , strategy="increment")
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="seq_config_notificacao")	 
	@Column(name="ID_CONFIG_NOTIFICACAO")
	private int idConfigNotificacao;
	@Column(name="DESCRICAO")
	private String descricao;
	@Column(name="MASCARA")
	private String mascara;
	@Column(name="DT_INICIAL")
	private Date dtInicial;
	@Column(name="DT_FINAL")
	private Date dtFinal;
	@Column(name="LIMITE_MAX")
	private int limiteMax;
	@Column(name="LIMITE_MIN")
	private int limiteMin;
	@Column(name="SERVICO_LIST")
	private String servicoList;
	@Column(name="SERVICO_COUNT")
	private String servicoCount;
	@Column(name="TP_NOTIFICACAO")
	private int tpNotificacao;
	public ConfigNotificacao(){
		super();
	}
	public int getIdConfigNotificacao(){
		return this.idConfigNotificacao;
	}
	public void setIdConfigNotificacao(int idConfigNotificacao){
		this.idConfigNotificacao = idConfigNotificacao;
	}	
	public String getDescricao(){
		return this.descricao;
	}
	public void setDescricao(String descricao){
		this.descricao = descricao;
	}	
	public String getMascara(){
		return this.mascara;
	}
	public void setMascara(String mascara){
		this.mascara = mascara;
	}
	public Date getDtInicial(){
		return this.dtInicial;
	}
	public void setDtInicial(Date dtInicial){
		this.dtInicial = dtInicial;
	}	
	public Date getDtFinal(){
		return this.dtFinal;
	}
	public void setDtFinal(Date dtFinal){
		this.dtFinal = dtFinal;
	}	
	public int getLimiteMax(){
		return this.limiteMax;
	}
	public void setLimiteMax(int limiteMax){
		this.limiteMax = limiteMax;
	}
	
	public int getLimiteMin() {
		return limiteMin;
	}
	public void setLimiteMin(int limiteMin) {
		this.limiteMin = limiteMin;
	}
	public String getServicoList(){
		return this.servicoList;
	}
	public void setServicoList(String servicoList){
		this.servicoList = servicoList;
	}	
	public String getServicoCount(){
		return this.servicoCount;
	}
	public void setServicoCount(String servicoCount){
		this.servicoCount = servicoCount;
	}	
	public int getTpNotificacao(){
		return this.tpNotificacao;
	}
	public void setTpNotificacao(int tpNotificacao){
		this.tpNotificacao = tpNotificacao;
	}	
}
